//
//  MineCell.m
//  Focus
//
//  Created by dlios on 14-10-31.
//  Copyright (c) 2014年 lanou3g.com 蓝鸥科技. All rights reserved.
//

#import "MineCell.h"

@implementation MineCell
-(void)dealloc{
    [_title release];
    [_myImage release];
    [super dealloc];
}
- (id)initWithStyle:(UITableViewCellStyle)style reuseIdentifier:(NSString *)reuseIdentifier
{
    self = [super initWithStyle:style reuseIdentifier:reuseIdentifier];
    if (self) {
        // Initialization code
        UILabel *title = [[UILabel alloc]initWithFrame:CGRectZero];
        self.title = title;
        [title release];
        [self.contentView addSubview:self.title];
        [_title release];
        UIImageView *myImage = [[UIImageView alloc]initWithFrame:CGRectZero];
        self.myImage = myImage;
        [myImage release];
        [self.contentView addSubview:self.myImage];
        [_myImage release];
    }
    return self;
}
-(void)layoutSubviews{
    [super layoutSubviews];
    self.title.frame = CGRectMake(10, 10, 100, 20);
    self.title.font = [UIFont systemFontOfSize:14];
    self.title.numberOfLines = 10;
    self.myImage.frame = CGRectMake(260, 10, 40, 20);
   
}
- (void)awakeFromNib
{
    // Initialization code
}

- (void)setSelected:(BOOL)selected animated:(BOOL)animated
{
    [super setSelected:selected animated:animated];

    // Configure the view for the selected state
}

@end
